package com.hnist.empdemo;

import com.hnist.empdemo.view.LoginInterface;
import com.hnist.empdemo.view.Managementface;
import javafx.application.Application;
import javafx.scene.image.Image;
import javafx.stage.Stage;

public class EmpApplication extends Application {
    @Override
    public void start(Stage primaryStage) {
        // 启动登录界面
        LoginInterface loginInterface = new LoginInterface();
        Image icon = new Image(getClass().getResourceAsStream("/image/logo.png"));
        primaryStage.getIcons().add(icon);
        loginInterface.start1(primaryStage);
    }

    public static void main(String[] args) {
        launch(args);
    }
}